package cn.lingyangwl.agile.pay.client;

import cn.lingyangwl.agile.model.constants.ModuleCons;
import cn.lingyangwl.agile.common.security.annotation.EnableMyResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author shenguangyang
 */
@MapperScan(basePackages = "cn.lingyangwl.agile.pay.client.mapper")
@EnableMyResourceServer
@SpringBootApplication(scanBasePackages = ModuleCons.SCAN_BASE_PACKAGE)
public class PayClientApplication {
    public static void main(String[] args) {
        SpringApplication springApplication=new SpringApplication(PayClientApplication.class);
        springApplication.setLazyInitialization(true);
        springApplication.run(args);
    }
}